package com.koalac.ironman.net.pojo.response;

import org.json.JSONObject;

public class ContactDetail extends BaseResponse{
	private String id;
	private String qq;
	private String phone;
	
	private String weixin;
	private String name;
	private String publish;
	
	private String dateline;
	private String qq2;
	private String phone2;
	
	private String weixin2;
	private String name2;
	
    @Override
    public void init(JSONObject source) {
	if (source != null) {
	    id = source.optString("id");
	    qq = source.optString("qq");
	    phone = source.optString("phone");
	    
	    weixin = source.optString("weixin");
	    name = source.optString("name");
	    publish = source.optString("publish");
	    
	    dateline = source.optString("dateline");
	    qq2 = source.optString("qq2");
	    phone2 = source.optString("phone2");
	    
	    weixin2 = source.optString("weixin2");
	    name2 = source.optString("name2");

	}
    }
    
    public String getId() {
	    return id;
	}

	public void setId(String id) {
	    this.id = id;
	}

	public String getQq() {
	    return qq;
	}

	public void setQq(String qq) {
	    this.qq = qq;
	}

	public String getPhone() {
	    return phone;
	}

	public void setPhone(String phone) {
	    this.phone = phone;
	}

	public String getWeixin() {
	    return weixin;
	}

	public void setWeixin(String weixin) {
	    this.weixin = weixin;
	}

	public String getName() {
	    return name;
	}

	public void setName(String name) {
	    this.name = name;
	}

	public String getPublish() {
	    return publish;
	}

	public void setPublish(String publish) {
	    this.publish = publish;
	}

	public String getDateline() {
	    return dateline;
	}

	public void setDateline(String dateline) {
	    this.dateline = dateline;
	}

	public String getQq2() {
	    return qq2;
	}

	public void setQq2(String qq2) {
	    this.qq2 = qq2;
	}

	public String getPhone2() {
	    return phone2;
	}

	public void setPhone2(String phone2) {
	    this.phone2 = phone2;
	}

	public String getWeixin2() {
	    return weixin2;
	}

	public void setWeixin2(String weixin2) {
	    this.weixin2 = weixin2;
	}

	public String getName2() {
	    return name2;
	}

	public void setName2(String name2) {
	    this.name2 = name2;
	}
    
}
